home *** CD-ROM | disk | FTP | other *** search
- Path: news.eunet.fi!fipnet!kone!jsaarinen
- Newsgroups: comp.sys.amiga.programmer
- X-NewsReader: IntuiNews 1.2b (31.7.94)
- References: <4fq6m6$gah@maureen.teleport.com> <38232456@kone.fipnet.fi> <4g7t86$em3@maureen.teleport.com>
- From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
- Date: Tue, 20 Feb 96 12:30:35 UT
- Comments: Illegal date header - new date added by quicknews
- X-Original-Date: Tue, 20 Feb 96 13:46:35
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: binary
- Distribution: world
- Subject: Re: TMapping again!
- Message-ID: <38232527@kone.fipnet.fi>
-
-
- > : Hmm. I have 15 long divides per polygon. (Texture/Gouraud)
- > : Now if they take about 30 cycles, only ~15 pixels have to be
- > : drawn to take the same amount of cycles. Therefore I dont
- > : use a divide table now..
- >
- > My guess is that you draw only a few polygon per frame...
- > But 15 pixels , ~450 cycles really addup when you draw alot of
- > polygon. If you draw 100 triangle at 60fps and your not using a
- > 512 byte divtable then your rendering code will take 10% more CPU
- ^^^^^^^^^^^^^^^^^
- > 2700000 cycles extra ... Yep, it addup quick :)
-
- I dont think that is really enough ... besides, you must use
- muls for 1/x table because the divided value can be negative, too.
- So 16.16 not possible, only 15b of fraction.
-
- Please explain your calculations a little..
-
- -- _
- a Stellar programmer _ //
- "Amiga - back for the future" \X/
-